<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <logic:notPresent role="Customer,Employee,Admin,Manager">
            <tiles:insert definition=".mainLayout">
                <tiles:put name="content" type="String">
                    <div align="left">
                        <h1>Time Out</h1>
                        The page or component you request is no longer available.
                        This is normally caused by timeout, opening too many Web pages, or rebooting
                        the server.
                    </div>
                </tiles:put>
            </tiles:insert>
        </logic:notPresent>

        <logic:present role="Customer">
            <tiles:insert definition=".customerLayout">
                <tiles:put name="content" type="String">
                    <div align="left">
                        <h1>Time Out</h1>
                        The page or component you request is no longer available.
                        This is normally caused by timeout, opening too many Web pages, or rebooting
                        the server.
                    </div>
                </tiles:put>
            </tiles:insert>
        </logic:present>

        <logic:present role="Employee">
            <tiles:insert definition=".employeeLayout">
                <tiles:put name="content" type="String">
                    <div align="left">
                        <h1>Time Out</h1>
                        The page or component you request is no longer available.
                        This is normally caused by timeout, opening too many Web pages, or rebooting
                        the server.
                    </div>
                </tiles:put>
            </tiles:insert>
        </logic:present>

        <logic:present role="Admin">
            <tiles:insert definition=".employeeLayout">
                <tiles:put name="content" type="String">
                    <div align="left">
                        <h1>Time Out</h1>
                        The page or component you request is no longer available.
                        This is normally caused by timeout, opening too many Web pages, or rebooting
                        the server.
                    </div>
                </tiles:put>
            </tiles:insert>
        </logic:present>

        <logic:present role="Manager">
            <tiles:insert definition=".manager">
                <tiles:put name="content" type="String">
                    <div align="left">
                        <h1>Time Out</h1>
                        The page or component you request is no longer available.
                        This is normally caused by timeout, opening too many Web pages, or rebooting
                        the server.
                    </div>
                </tiles:put>
            </tiles:insert>
        </logic:present>
    </body>
</html>
